package com.infonautics.dao;

import java.util.List;

import com.hibernate.Assignpurview;
import com.hibernate.Userrole;
import com.infonautics.page.PageBean;

public interface IUserroleDao {

	public PageBean<Userrole> doUserroleList(int pageSize, int page) throws Exception;//分页查询用户角色
	public Object getValue(String sql) throws Exception;
	public void doDeletePurview(int roleid) throws Exception;//删除权限
	public void assignPurview(Assignpurview purview) throws Exception;//分配
	public List<Assignpurview> doAssignList(int roleid) throws Exception;
}
